package com.service;

import java.util.List;

import com.bean.Users;
import com.util.Page;

public interface UserService {
	void save(Users transientInstance);
	void saveBatch(List entities)throws Exception;
	void delete(Users persistentInstance);
	void deleteBatch(List entities);
	List<Users> findAll(Page page);
	List findByExample(Users instance);
	List findByQuery(Users user,Page page);
	List findByUsername(Object username);
}
